package com.xbh.management.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xbh.common.base.BaseEntity;
import lombok.Data;

import javax.persistence.Column;

/**
 * @program: management-center
 * @description:
 * @author: 许宝华
 * @create: 2022-02-16 15:21
 */

@Data
public class ManDeptUser extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    @Column(name = "man_dept_user_id")
    private Long manDeptUserId;

    @Column(name = "department_id")
    private Long departmentId;

    @Column(name = "user_id")
    private Long userId;
}
